package com.hainingtong.user.dao;

import com.hainingtong.user.entity.SysAuth;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface AuthMapper {
    SysAuth findByPrincipalAndType(String principal, String type);
    int insert(SysAuth auth);
    int isAuthExits(String principal, String type);
}
